home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem Alert4.bat (no -ok files, some cha files)
- :Alert4
- echo.
- echo.
- echo ╔════════════════════════════════════════════════════════════╗
- echo ║ *** TEST-RUN by BB INSTALLATION ALERT *** ║
- echo ║ ║
- echo ║ TEST-RUN has previously been installed on this system, but ║
- echo ║ was uninstalled in the Test-Run ON mode! ║
- echo ║ ║
- echo ║ The Test-Run files left behind are not complete, and would ║
- echo ║ cause Test-Run to fail. You are advised to delete the file ║
- echo ║ sets left behind when Test-Run was last uninstalled. Test- ║
- echo ║ Run installation will then proceed, and operation will be ║
- echo ║ normal. ║
- echo ╚════════════════════════════════════════════════════════════╝
- echo.
- echo.
- choice . Delete previous corrupt TEST-RUN files
- if errorlevel 2 goto :confirm
- if errorlevel 1 goto :cleanup
-
- :cleanup
- if exist c:\windows\tr~winin.cha attrib c:\windows\tr~winin.cha -r -s -h
- if exist c:\windows\tr~systm.cha attrib c:\windows\tr~systm.cha -r -s -h
- if exist c:\windows\tr~user.cha attrib c:\windows\tr~user.cha -r -s -h
- if exist c:\windows\tr~sysin.cha attrib c:\windows\tr~sysin.cha -r -s -h
- if exist c:\windows\tr~proin.cha attrib c:\windows\tr~proin.cha -r -s -h
- if exist c:\tr~autox.cha attrib c:\tr~autox.cha -r -s -h
- if exist c:\tr~confg.cha attrib c:\tr~confg.cha -r -s -h
- if exist c:\tr~msdos.cha attrib c:\tr~msdos.cha -r -s -h
-
- if exist c:\windows\tr~winin.cha del c:\windows\tr~winin.cha
- if exist c:\windows\tr~systm.cha del c:\windows\tr~systm.cha
- if exist c:\windows\tr~user.cha del c:\windows\tr~user.cha
- if exist c:\windows\tr~sysin.cha del c:\windows\tr~sysin.cha
- if exist c:\windows\tr~proin.cha del c:\windows\tr~proin.cha
- if exist c:\tr~autox.cha del c:\tr~autox.cha
- if exist c:\tr~confg.cha del c:\tr~confg.cha
- if exist c:\tr~msdos.cha del c:\tr~msdos.cha
-
- if exist c:\windows\test~run.bmp del c:\windows\test~run.bmp
-
- if exist c:\windows\command\tr-by-bb\folder\0n.lnk del c:\windows\command\tr-by-bb\folder\0n.lnk
- if exist c:\windows\command\tr-by-bb\folder\0ff.lnk del c:\windows\command\tr-by-bb\folder\0ff.lnk
-
- goto :welcome
-
- :confirm
- echo.
- echo The Test-Run files left behind from the previous installation
- echo of TEST-RUN should be erased. They could corrupt your system!
- echo You should delete them now.
- echo.
- choice . *LAST CHANCE* Delete previous TEST-RUN files
- if errorlevel 2 goto :welcome
- if errorlevel 1 cls
- goto :alert4
-
-
- :Welcome
- start /max Welcome.pif
- goto :exit
-
- :exit
- exit
-
-
-